<?php
namespace app\index\controller;

use think\Controller;
use think\Db;

class HelloWorld  extends Controller
{
    public function index()
    {
        return 'Hello,World！';
    }
    public function hello($name="hongpai")
    {
          $this->assign('name', $name);
//		
//    $data = Db::name('t_member')->find();
//    $this->assign('result', $data);
//		
        return $this->fetch();
    }
}
